package com.frejoys.common.dto.admin;

import com.frejoys.common.dto.common.PageDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


@Data
public class StoreListDto extends PageDto {

    // 店名
    @Schema(type = "String", name = "name", description = "店名", required = false, defaultValue = "")
    private String name;

    @Schema(type = "String", name = "tel", description = "店铺电话", required = false, defaultValue = "")
    private String tel;

    // @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "categoryId", description = "品类id", required = false, defaultValue = "")
    private Integer categoryId;

    @Schema(type = "Long", name = "userId", description = "用户id", required = false, defaultValue = "1")
    private Long userId;
}
